Skip to content

Fix minizip include due to minizip.pc change in zlib 1.3.2#284

Merged
john-preston merged 1 commit into
desktop-app:masterfrom
mymedia2:patch-14
Jun 9, 2026
Merged

Fix minizip include due to minizip.pc change in zlib 1.3.2#284
john-preston merged 1 commit into
desktop-app:masterfrom
mymedia2:patch-14

Conversation

@mymedia2

Copy link
Copy Markdown
Contributor

zlib of version 1.3.2 removed /minizip suffix from the include path in their pkg-config metadata and suggested to include headers with <minizip/zip.h> or <minizip/unzip.h> directives.

Justification see at:
madler/zlib@7e6f078

This change should not conflict with minizip-ng, popular zlib fork, because they install zip.h and unzip.h files to the /usr/include/minizip directory. At least, Fedora has the minizip-ng-compat-devel package.

https://packages.fedoraproject.org/pkgs/minizip-ng/minizip-ng-compat-devel/fedora-rawhide.html#files

And that is [telegramdesktop/tdesktop#16962] may be reverted.

zlib of version 1.3.2 removed /minizip suffix from the include path in their
pkg-config metadata and suggested to move to #include <minizip/(un)?zip.h>
@john-preston john-preston force-pushed the master branch 2 times, most recently from 3cf9d27 to 3888062 Compare April 24, 2026 10:11
@john-preston john-preston merged commit 4ad72dd into desktop-app:master Jun 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants